const routerConfig = [
    {
        path: '/',
        name: 'publicMain',
        meta: {
            title: '页面一'
        },
        components: {
            web: resolve => require(['../../views/pubview/index.vue'], resolve),
        },
        children: [
            {
                path: '/pubview/main',
                name: 'publicMain',
                // component:resolve => require(['../../views/pubview/pubview-main/index.vue'], resolve),
                components: {
                    publicMain: resolve => require(['../../views/pubview/public-main/index.vue'], resolve)
                },
                meta: {
                    title: '首页',
                    keepAlive: true
                }
            },
            {
                path: '/pubview/moyu',
                name: 'publicMoyu',
                components: {
                    publicMain: resolve => require(['../../views/pubview/public-moyu/index.vue'], resolve)
                },
                meta: {
                    title: '摸摸鱼',
                    keepAlive: true
                }
            },
            {
                path: '/pubview/resume',
                name: 'publicResume',
                components: {
                    publicMain: resolve => require(['../../views/pubview/public-resume/index.vue'], resolve)
                },
                meta: {
                    title: '简历',
                    keepAlive: true
                }
            },
        ]
    },
]
export default routerConfig
